#ifndef _CENEMY_H_
#define _CENEMY_H_

#include "CBase.h"

enum PICKUP{ DROP_EX_GRENADE, DROP_FW_GRENADE, DROP_HEALTH, DROP_PISTOL, DROP_SHOTGUN, 
					DROP_ROCKET };
class CDrop;

class CEnemy : public CBase
{
	int health;
	int maxHealth;
	int m_nPickUpId;
	bool m_bScreenFlashing; // is the screen flashing?
	int m_nFlashCount;
	CDrop* drop;

	// Asset IDs
	int m_nHitID;

public:
	CEnemy();
	virtual ~CEnemy();
	virtual void Fire(void);
	virtual void Update(float fElapsedTime);
	virtual void Render(void);
	virtual bool CheckCollision(IBaseInterface* pBase);
	virtual void Reset();

	virtual RECT GetCollisionRect(void);

	int GetHealth() {return health;}
	void SetHealth(int hp) {health = hp;}
	int GetMaxHealth() {return maxHealth;}
	void SetMaxHealth(int hp) {maxHealth = hp;}
	void RandomDrop();
};

#endif